import 'package:get/get.dart';
import 'package:toolbox/models/FetchWebsiteInfoModel.dart';
import 'package:webview_flutter/webview_flutter.dart';

const String bingUrl = 'https://cn.bing.com/';
const String baiduUrl = 'https://www.baidu.com/';
const String googleUrl = 'https://www.google.com/';

class BrowserState {
  late WebViewController controller;

  RxBool isStar = false.obs;

  RxBool canGoBack = false.obs;

  RxBool canGoForward = false.obs;

  RxString currentUrl = ''.obs;

  Rxn<FetchWebsiteInfoModel> currentWebsiteFetch = Rxn(null);

  // 0 - 100
  RxInt progress = 100.obs;

  BrowserState() {
    ///Initialize variables
  }
}
